package top.lfyao.designpattern.details.builder;

public class BuilderClient {
    public static void main(String[] args){
        ConcreteBuilder1 concreteBuilder1 = new ConcreteBuilder1();
        Product product1 = Director.createBuilder(concreteBuilder1);
        product1.show();
        System.out.println("--------------------------------------------------");
        ConcreteBuilder2 concreteBuilder2 = new ConcreteBuilder2();
        Product product2 = Director.createBuilder(concreteBuilder2);
        product2.show();
    }
}
